package top.abrsm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

@TableName ("user_info")
public class UserEntity extends BaseEntity {

    @TableId (value = "id", type = IdType.INPUT)
    private String id;
    @TableField ("nickName")
    private String nickName;
    @TableField ("nickName")
    private String userName;
    @TableField ("name")
    private String name;
    @TableField ("password")
    private String password;
    @TableField ("pubOpenId")
    public String pubOpenId;
    @TableField ("roleId")
    public String roleId;
    @TableField ("createTime")
    private Date createTime;
    @TableField ("changeTime")
    private Date changeTime;
    @TableField ("isUsed")
    private Integer isUsed;

    public String getId () {
        return id;
    }

    public void setId (String id) {
        this.id = id;
    }

    public String getNickName () {
        return nickName;
    }

    public void setNickName (String nickName) {
        this.nickName = nickName;
    }

    public String getUserName () {
        return userName;
    }

    public void setUserName (String userName) {
        this.userName = userName;
    }

    public String getName () {
        return name;
    }

    public void setName (String name) {
        this.name = name;
    }

    public String getPassword () {
        return password;
    }

    public void setPassword (String password) {
        this.password = password;
    }

    public String getPubOpenId () {
        return pubOpenId;
    }

    public void setPubOpenId (String pubOpenId) {
        this.pubOpenId = pubOpenId;
    }

    public String getRoleId () {
        return roleId;
    }

    public void setRoleId ( String roleId ) {
        this.roleId = roleId;
    }

    public Date getCreateTime () {
        return createTime;
    }

    public void setCreateTime (Date createTime) {
        this.createTime = createTime;
    }

    public Date getChangeTime () {
        return changeTime;
    }

    public void setChangeTime (Date changeTime) {
        this.changeTime = changeTime;
    }

    public Integer getIsUsed () {
        return isUsed;
    }

    public void setIsUsed (Integer isUsed) {
        this.isUsed = isUsed;
    }
}
